/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
} */

/* .header {
    background: #8f1a1f;
    color: white;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.contact-us {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
} */

.main-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* .breadcrumb {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffb69e;
    padding: 15px 40px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap; 
 } 

.breadcrumb span {
    color: #8f1a1f;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
} */

.spacer {
    height: 50px;
}

.buletin-main-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.bull-section {
    background: white;
    padding: clamp(20px, 4vw, 40px);
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.bull-section-title {
    color: #8f1a1f;
    margin-top: 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
    border-bottom: 2px solid #ffb69e;
    padding-bottom: 15px;
}

.section-subtitle {
    color: #8f1a1f;
    margin-top: 0;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    border-bottom: 2px solid #ffb69e;
    padding-bottom: 15px;
}

.bull-section-text {
    margin: 20px 0 0 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
    text-align: justify;
}

.buletin-main-content .board-text {
    margin: 20px 0 25px 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
    text-align: justify;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.board-member {
    background: #fef7f0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #8f1a1f;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.board-member h4 {
    margin: 0 0 8px 0;
    color: #8f1a1f;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.board-member p {
    margin: 0;
    color: #666;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 500;
}

.project-detail {
    position: relative;
    padding: 25px 0 120px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* .breadcrumb {
        position: static;
        transform: none;
        margin: 20px auto 0 auto;
        display: inline-block;
        border-radius: 20px;
        padding: 12px 25px;
    } */

    .buletin-main-content {
        margin: 10px auto;
        padding: 0 15px;
    }

    .section {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 30px 15px;
    }

    .contact-us {
        font-size: 12px;
        top: 10px;
        right: 15px;
    }

    /* .breadcrumb {
        padding: 10px 20px;
        font-size: 0.85rem;
    } */

    .board-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------- ====================photo==================================*/
.president-photo {
    width: 120px;
    height: 120px;
    background-color: #5b7bc7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 4px;
}

.president-name {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

.message-title {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: bold;
    color: #8f1a1f;
    margin-bottom: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .president-photo {
        width: 100px;
        height: 100px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .president-photo {
        width: 90px;
        height: 90px;
        font-size: 14px;
    }
}
/* ==============================================order list ====================================*/
/* ol {
    list-style: none;
    margin-top: 10px;
}

li {
    counter-increment: item-counter;
    position: relative;
    padding: 20px 20px 20px 80px;
    margin-bottom: 15px;
    background: #f8f9ff;
    border-radius: 12px;
    border-left: 4px solid #8f1a1f;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
}

li:last-child {
    margin-bottom: 0;
}

li::before {
    content: counter(item-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #8f1a1f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(143, 26, 31, 0.3);
}

li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: #f0f4ff;
}

li:hover::before {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(143, 26, 31, 0.4);
} */

/* Alternating styles for visual variety */
/* li:nth-child(even) {
    background: #fff8f8;
    border-left-color: #b22d34;
}

li:nth-child(even)::before {
    background: #b22d34;
    box-shadow: 0 4px 12px rgba(178, 45, 52, 0.3);
}

li:nth-child(even):hover {
    background: #fff0f0;
} */

/* Emphasis on degree types */
.degree-emphasis {
    font-weight: 600;
    color: #8f1a1f;
}

.duration-emphasis {
    color: #666;
    font-style: italic;
}

/* @media (max-width: 768px) {
    ol {
        padding: 25px 20px;
    }

    li {
        padding: 15px 15px 15px 65px;
        font-size: 1rem;
    }

    li::before {
        width: 35px;
        height: 35px;
        left: 15px;
        font-size: 1rem;
    }
} */

/* -------------------------------------------------table ========================= */

.table-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
    min-width: 400px;
}

th {
    background: #8f1a1f;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    border: 1px solid #7a1619;
}

th:first-child {
    border-top-left-radius: 8px;
}

th:nth-child(2) {
    border-top-right-radius: 0;
}

th:nth-child(3) {
    border-top-left-radius: 0;
}

th:last-child {
    border-top-right-radius: 8px;
}

td {
    padding: 12px 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    background: white;
}

tr:nth-child(even) td {
    background: #f8f9ff;
}

tr:hover td {
    background: #fff0f0;
    transform: scale(1.02);
}

.grade-column {
    font-weight: 600;
    color: #8f1a1f;
    font-size: 1.1rem;
}

.points-column {
    color: #2c3e50;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-container {
        padding: 20px 15px;
    }

    table {
        font-size: 1rem;
        min-width: 350px;
    }

    th {
        padding: 12px 15px;
        font-size: 1.1rem;
    }

    td {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 10px;
    }

    .table-container {
        padding: 15px 10px;
    }

    table {
        font-size: 0.9rem;
        min-width: 300px;
    }

    th {
        padding: 10px 12px;
        font-size: 1rem;
    }

    td {
        padding: 8px 12px;
    }

    .grade-column {
        font-size: 1rem;
    }
}

/* Custom scrollbar for horizontal scroll on mobile */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #8f1a1f;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #7a1619;
}
/* =========================multi table==================== */

.religion-curriculum-container {
    font-family: "Arial", sans-serif;
    margin-top: 30px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.religion-curriculum-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(143, 26, 31, 0.1);
    overflow: hidden;
}

.table-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #8f1a1f rgba(143, 26, 31, 0.1);
}

.table-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-container::-webkit-scrollbar-track {
    background: rgba(143, 26, 31, 0.1);
    border-radius: 4px;
}

.table-scroll-container::-webkit-scrollbar-thumb {
    background: #8f1a1f;
    border-radius: 4px;
}

.table-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a01d22;
}

.curriculum-header {
    background: linear-gradient(135deg, #8f1a1f 0%, #b22429 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.curriculum-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.curriculum-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.curriculum-duration {
    font-size: 14px;
    opacity: 0.9;
}

.religion-curriculum-table {
    width: 100%;
    min-width: 600px; /* Ensure minimum width for proper layout */
    border-collapse: collapse;
    font-size: 14px;
    background: white;
}

.table-header-row {
    background: #8f1a1f;
    color: white;
}

.table-header-cell {
    padding: 15px 12px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #6d1316;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.year-section-header {
    /* background: linear-gradient(135deg, #8f1a1f 0%, #a01d22 100%); */
    background-color: #ffb69e;
    color: #8f1a1f;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.semester-header {
    background: rgba(143, 26, 31, 0.15);
    color: #8f1a1f;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    border: 1px solid rgba(143, 26, 31, 0.2);
}

.course-row {
    transition: all 0.3s ease;
}

.course-row:hover {
    background: rgba(143, 26, 31, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(143, 26, 31, 0.1);
}

.course-cell {
    padding: 16px 12px;
    border: 1px solid rgba(143, 26, 31, 0.2);
    vertical-align: top;
}

.course-acronym {
    font-weight: bold;
    color: #8f1a1f;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.course-name {
    color: #333;
    line-height: 1.4;
    font-size: 14px;
}

.course-credits {
    text-align: center;
    font-weight: bold;
    color: #8f1a1f;
    font-size: 16px;
}

.total-credits-row {
    background: linear-gradient(135deg, #8f1a1f 0%, #a01d22 100%);
    color: white;
    font-weight: bold;
}

.total-credits-cell {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .curriculum-title {
        font-size: 24px;
    }

    .curriculum-subtitle {
        font-size: 16px;
    }

    /* Enable horizontal scroll on tablet */
    .table-scroll-container {
        border-radius: 8px;
        border: 1px solid rgba(143, 26, 31, 0.2);
    }

    .religion-curriculum-table {
        min-width: 700px;
    }
}

@media (max-width: 768px) {
    .curriculum-header {
        padding: 20px 15px;
    }

    .curriculum-title {
        font-size: 20px;
    }

    .curriculum-subtitle {
        font-size: 14px;
    }

    /* Enhanced scroll for mobile */
    .table-scroll-container {
        border-radius: 6px;
        border: 2px solid rgba(143, 26, 31, 0.2);
        background: rgba(143, 26, 31, 0.02);
    }

    .religion-curriculum-table {
        font-size: 12px;
        min-width: 650px;
    }

    .table-header-cell {
        padding: 10px 8px;
        font-size: 11px;
        white-space: nowrap;
    }

    .course-cell {
        padding: 12px 8px;
        white-space: nowrap;
    }

    .course-name {
        font-size: 12px;
        min-width: 120px;
        white-space: normal;
        line-height: 1.3;
    }

    .semester-header {
        font-size: 14px;
        padding: 12px;
        white-space: nowrap;
    }

    .year-section-header {
        font-size: 16px;
        padding: 15px;
    }

    /* Scroll hint */
    .table-scroll-container::after {
        content: "← Scroll horizontally to view all columns →";
        display: block;
        text-align: center;
        padding: 10px;
        font-size: 11px;
        color: #8f1a1f;
        background: rgba(143, 26, 31, 0.05);
        border-top: 1px solid rgba(143, 26, 31, 0.1);
        font-style: italic;
    }
}

@media (max-width: 480px) {
    .curriculum-title {
        font-size: 16px;
    }

    .curriculum-subtitle {
        font-size: 12px;
    }

    .religion-curriculum-table {
        font-size: 11px;
        min-width: 600px;
    }

    .table-header-cell {
        padding: 8px 6px;
        font-size: 10px;
    }

    .course-cell {
        padding: 10px 6px;
    }

    .course-name {
        font-size: 11px;
        line-height: 1.3;
        min-width: 100px;
    }

    .course-acronym {
        font-size: 11px;
        min-width: 60px;
    }

    .table-scroll-container::after {
        font-size: 10px;
        padding: 8px;
    }
}

/* Accessibility */
.religion-curriculum-table:focus {
    outline: 2px solid #8f1a1f;
    outline-offset: 2px;
}

.course-row {
    tabindex: 0;
}

.course-row:focus {
    background: rgba(143, 26, 31, 0.08);
    outline: 1px solid #8f1a1f;
}

/* Smooth page load animation */
.religion-curriculum-container {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================== */
.catalog-container {
    margin: 20px auto;

    background-color: #ffffff;

    line-height: 1.6;
}

.course-entry {
    margin-bottom: 25px;
}

.course-header {
    font-weight: bold;

    margin-bottom: 8px;
}

.course-title {
    color: #8f1a1f;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.credit-hours {
    float: right;
    color: #000000;
}

.course-description {
    text-align: justify;
    margin-top: 5px;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.prerequisite-text {
    color: #8f1a1f;
    font-weight: bold;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

@media print {
    .catalog-container {
        margin: 0;
        padding: 20px;
        box-shadow: none;
    }
}
